home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / graphics / gnuplot / makefile.g < prev    next >
Makefile  |  1993-09-15  |  3KB  |  95 lines

  1. # This file is for GRASS, a geographic information system. 
  2. # To compile, make modifications below (if necessary) then
  3. # % ln -s makefile.g Gmakefile
  4. # % gmake4.1
  5. #
  6. # NOTE: this creates a binary called 'g.gnuplot' and is located in
  7. #       $GISBASE/bin.  
  8. #       A help file is installed in $(GISBASE)/man/help/g.gnuplot
  9. #
  10. # GRASS driver written by:
  11. # James Darrell McCauley          Department of Ag Engr, Purdue Univ
  12. # mccauley@ecn.purdue.edu         West Lafayette, Indiana 47907-1146
  13. #
  14. # Last modified: 26 Jun 1993
  15. #
  16. # Known Bugs:  There may be a problem with fifo's. Then again, there may not.
  17. #              Drawing non-filled point types is slow.
  18. #
  19. # Things to do: modify text function to change fonts? will make g.gnuplot
  20. #               input files incompatible with gnuplot
  21. #
  22. # Modification History:
  23. # <15 Jun 1992>    First version created with GNUPLOT 3.2
  24. # <15 Feb 1993> Modified to work with frames
  25. # <16 Feb 1993> Added point types triangle (filled and unfilled), 
  26. #               inverted-triangle (filled and unfilled), 
  27. #               circle (filled and unfilled), and filled box.
  28. #               Graph is no longer erased after g.gnuplot is finished.
  29. # <01 Mar 1993> Modified to work with 3.3b9
  30. # <26 Jun 1993> Fixed up this file to automatically install the 
  31. #               binary and help.
  32. #
  33. #############################################################################
  34. # Where to send email about bugs and comments 
  35. EMAIL=grassp-list@moon.cecer.army.mil
  36.  
  37. HELPDEST=$(GISBASE)/man/help/g.gnuplot
  38. ################### Don't touch anything below this line ###################
  39. GTERMFLAGS = -DGRASS 
  40.  
  41. EXTRA_CFLAGS=-DREADLINE -DNOCWDRC $(GTERMFLAGS) \
  42.     -DCONTACT=\"$(EMAIL)\" -DHELPFILE=\"$(HELPDEST)\"
  43.  
  44. OFILES = \
  45.     binary.o \
  46.     bitmap.o \
  47.     command.o \
  48.     contour.o \
  49.     eval.o \
  50.     gnubin.o \
  51.     graph3d.o \
  52.     graphics.o \
  53.     help.o \
  54.     internal.o \
  55.     misc.o \
  56.     parse.o \
  57.     plot.o \
  58.     readline.o \
  59.     scanner.o \
  60.     setshow.o \
  61.     specfun.o \
  62.     standard.o \
  63.     term.o \
  64.     util.o \
  65.     version.o 
  66.  
  67. all: $(BIN_MAIN_CMD)/g.gnuplot $(GISBASE)/man/help/g.gnuplot
  68.  
  69. $(BIN_MAIN_CMD)/g.gnuplot: $(OFILES) $(DISPLAYLIB) $(RASTERLIB) $(GISLIB) 
  70.     $(CC) $(LDFLAGS) -o $@ $(OFILES) $(DISPLAYLIB) $(RASTERLIB) $(GISLIB) $(TERMLIB) $(MATHLIB)
  71.  
  72. $(GISBASE)/man/help/g.gnuplot:
  73.     ( cd docs; $(MAKE) $(MFLAGS) $(MY_FLAGS) install-unix HELPDEST=$(HELPDEST) )
  74.  
  75. # Dependencies
  76.  
  77. term.o: term.h term.c term/grass.trm
  78.  
  79. $(OFILES): plot.h
  80.  
  81. command.o help.o misc.o: help.h
  82.  
  83. command.o graphics.o graph3d.o misc.o plot.o setshow.o term.o: setshow.h
  84.  
  85. bitmap.o term.o: bitmap.h
  86.  
  87. ################################################################
  88. $(RASTERLIB): #
  89. $(DISPLAYLIB): #
  90. $(GISLIB): #
  91.  
  92.  
  93.  
  94.  
  95.